﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	Width="700" Height="435" >

		<Canvas Width="700" Height="435" Background="#8D304C89">
		<Image x:Name="bg" Width="700" Height="435" Source="硬盘/img/bj-bot-b.jpg" Stretch="Fill"/>
<Grid Height="40" Width="693" Canvas.Left="4">
<TextBlock Width="240" Height="40" FontSize="28" TextAlignment="Center" Foreground="#4DACD8" FontWeight="Normal" FontFamily="Arial" Margin="0,0,0,0"   ><Run Text="通 讯 "/><Run Text="设 置"/></TextBlock>
</Grid>
<Grid Height="200" Width="600" Canvas.Left="56" Canvas.Top="98">
	<Grid.RowDefinitions>     
    	<RowDefinition Height="57" />
		<RowDefinition Height="10" />
		<RowDefinition Height="57" />
		<RowDefinition Height="10" />
		<RowDefinition Height="57" />
		<RowDefinition Height="*" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	   	<ColumnDefinition Width="*" />	
	    <ColumnDefinition Width="125" />
		<ColumnDefinition Width="150" />
		<ColumnDefinition Width="30" />
	    <ColumnDefinition Width="125" />
		<ColumnDefinition Width="150" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	<Border Grid.Row="0"  BorderThickness="1,1,1,1" Grid.Column="1" >
		<TextBlock Height="30" Text=" ID       号：" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" />	
	</Border>
    <Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="2" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="2" x:Name="cmbID" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="1" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="2" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="3" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="4" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="5" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="6" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="7" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="8" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="9" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="10" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
		</ComboBox>
	</Border>
	<Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="4" >
		<TextBlock Height="30" Text=" 波  特  率：" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" />	
	</Border>	
	<Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="5" Background="#217499" BorderBrush="#217499" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="4" x:Name="cmbBTL" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="110" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="300" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="600" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="1200" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="2400" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="4800" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="9600" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="14400" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="19200" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="38400" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="56000" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="57600" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="115200" FontSize="20" Foreground="#ffffffff" />	
			</Border>				
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="128000" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="256000" FontSize="20" Foreground="#ffffffff" />	
			</Border>			
		</ComboBox>
	</Border>
	
	<Border Grid.Row="2"  BorderThickness="1,1,1,1" Grid.Column="1" >
		<TextBlock Height="30" Text=" 数  据  位：" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" />	
	</Border>
    <Border Grid.Row="2"  BorderThickness="0,1,1,1" Grid.Column="2" Background="#217499" BorderBrush="#217499" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="2" x:Name="cmbSJW" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="4" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="5" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="6" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="7" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="8" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
		
		</ComboBox>
	</Border>
	<Border Grid.Row="2"  BorderThickness="0,1,1,1" Grid.Column="4" >
		<TextBlock Height="30" Text=" 停  止  位：" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" />	
	</Border>
	<Border Grid.Row="2"  BorderThickness="0,1,1,1" Grid.Column="5" Background="#217499" BorderBrush="#217499" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="0" x:Name="cmbTZW" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="1" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="1.5" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="2" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
		
		</ComboBox>
	</Border>
	
	<Border Grid.Row="4"  BorderThickness="1,1,1,1" Grid.Column="1" >
		<TextBlock Height="30" Text=" 奇偶校验位：" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" />	
	</Border>
    <Border Grid.Row="4"  BorderThickness="0,1,1,1" Grid.Column="2" Background="#217499" BorderBrush="#217499" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="2" x:Name="cmbJOW" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="无" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="奇" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="偶" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
		
		</ComboBox>
	</Border>
	<Border Grid.Row="4"  BorderThickness="0,1,1,1" Grid.Column="4" >
		<TextBlock Height="30" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF" ><Run Text="串口选择"/><Run Text=" "/><Run Text="："/></TextBlock>	
	</Border>
	<Border Grid.Row="4"  BorderThickness="0,1,1,1" Grid.Column="5" Background="#217499" BorderBrush="#217499" >
		<ComboBox Height="55" Background="#217499" BorderBrush="#217499" Foreground="#ff000000" BorderThickness="2" SelectedIndex="0" x:Name="cmbFSFS" >
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="COM1" FontSize="20" Foreground="#ffffffff" />	
			</Border>	
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="COM2" FontSize="20" Foreground="#ffffffff" />	
			</Border>
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="COM3" FontSize="20" Foreground="#ffffffff" />	
			</Border>
			<Border Background="#217499" BorderBrush="#217499" Width="135" Height="40" >
			<TextBlock Height="30" Text="COM4" FontSize="20" Foreground="#ffffffff" />	
			</Border>		
		</ComboBox>
	</Border>
            
</Grid>

<Grid Height="55" Width="371" Canvas.Left="285" Canvas.Top="315.5">
<Grid.RowDefinitions>     
    	<RowDefinition Height="55" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="*" />
	    <ColumnDefinition Width="100" />
		<ColumnDefinition Width="10" />
		<ColumnDefinition Width="100" />
	    <ColumnDefinition Width="30" />
		<ColumnDefinition Width="100" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	<Border Grid.Row="1"  BorderThickness="1,1,1,1" Grid.Column="0" ></Border>
    <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="3" Background="#217499" BorderBrush="#217499" >
		<Button x:Name="OKBorder" BorderThickness="1000" BorderBrush="#217499" >
			<TextBlock Height="30" Text="确定" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
		</Button>
	</Border>
	<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="5" Background="#217499" BorderBrush="#217499" >
		<Button x:Name="CancelBorder" BorderThickness="1000" BorderBrush="#ff0000" Background="#FF000000"  >
			<TextBlock Height="30" Text="取消" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
		</Button>
	</Border>
            
</Grid>


		
	</Canvas>	
</UserControl>